﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true" CodeBehind="AvailableInvestments.aspx.cs" Inherits="LenderClearingHouse.AvailableInvestments" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Src="ListFilterControl.ascx" TagName="ListFilterControl" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphPageHeader" runat="server">
Available Investments
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
  <telerik:RadWindowManager runat="server" Behavior="Default" InitialBehavior="None"
        ID="RadWindowManager1" Modal="True" Behaviors="Resize, Close, Move" ReloadOnShow="True"
        ShowContentDuringLoad="False" VisibleStatusbar="False" VisibleTitlebar="False"
        Width="500px">
  </telerik:RadWindowManager>

<script type="text/javascript">
    function RequestProperty(apn) {
        var oWnd = radopen("RequestPropertyMessage.aspx?Apn=" + apn, "RadWindow1");
        oWnd.Center();
    }

    function RefreshGrid() {
        __doPostBack("<%= phGrid.UniqueID %>", "Refresh");
    }
</script>

    <uc1:ListFilterControl ID="listFilter" runat="server" />
    <div class="blank_list1">
    </div>
    <div class="panel7">
        <asp:PlaceHolder ID="phGrid" runat="server"></asp:PlaceHolder>
    </div>
    <div class="blank_list1">        
    </div>
    <asp:SqlDataSource ID="sqlDataSource" runat="server" ConnectionString="<%$ ConnectionStrings:SQLConnection %>"
        SelectCommand="getAvailableInvestments"
        SelectCommandType="StoredProcedure" CancelSelectOnNullParameter="False">
    </asp:SqlDataSource>
    <telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
    </telerik:RadAjaxManager>
</asp:Content>
